package flights.bi;

public class Ticket {
	int ticket_id;
	int booking_id;
	String passport_number;
	String first_name;
	String last_name;
	int seat_id;
	Integer	prev_ticket_id;

	public Ticket(int ticket_id, String passport_number, String first_name,
			String last_name, int seat_id, Integer prev_ticket_id, int booking_id) {
		super();
		this.ticket_id = ticket_id;
		this.passport_number = passport_number;
		this.first_name = first_name;
		this.last_name = last_name;
		this.seat_id = seat_id;
		this.prev_ticket_id = prev_ticket_id;
		this.booking_id = booking_id;
	}

	public int get_ticketId() {
		return ticket_id;
	}

	public int getBooking_id() {
		return booking_id;
	}
	
	public void setBooking_id(int booking_id) {
		this.booking_id = booking_id;
	}
	
	public String getPassport_number() {
		return passport_number;
	}

	public void setPassport_number(String passport_number) {
		this.passport_number = passport_number;
	}

	public String getFirst_name() {
		return first_name;
	}

	public void setFirst_name(String first_name) {
		this.first_name = first_name;
	}

	public String getLast_name() {
		return last_name;
	}

	public void setLast_name(String last_name) {
		this.last_name = last_name;
	}

	public int getSeat_id() {
		return seat_id;
	}

	public void setSeat_id(int seat_id) {
		this.seat_id = seat_id;
	}

	public Integer getPrev_ticket() {
		return prev_ticket_id;
	}

	public void setPrev_ticket(int prev_ticket_id) {
		this.prev_ticket_id = prev_ticket_id;
	}

	public void set_ticketId(int ticket_id) {
		this.ticket_id = ticket_id;
	}
}
